package com.scedu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scedu.entity.User;
import com.scedu.result.ProfileResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sc
 * @since 2020-04-21
 */
public interface UserService extends IService<User> {

   User findByUserName(String username);
   List<String> findPermissionNamesByUid(String uid);
   List<String> findPermissionUrlsByUid(String uid);
   List<String> findRolesByUid(String uid);
   public ProfileResult CreateProfileResult(User user);
}
